package com.zdp.demo.controller;

import cn.dev33.satoken.annotation.SaCheckRole;
import com.zdp.entity.base.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @SaCheckRole(value = "zdp-role")
    @GetMapping("/test")
    public R test() {
        return R.ok("test.....");
    }
}
